<?php
/*
+ --------------------------------------------------- +
|  Ineo Article Manager - Version 2.x
|  Copyright 2006-2007, Dan Cryer and William McGann
+ --------------------------------------------------- +

Ineo Article Manager is free software; you can redistribute it and/or modify
it under the terms of version 3 of the GNU General Public License as published by
the Free Software Foundation.

Ineo Article Manager is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Ineo; see the file License.txt.  If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

*/

// Set the autocom info for IPB:
$_GET['autocom'] = 'ineo';

// If we're using a text id, which we probably are, then set it for ineo!
if( !empty( $_SERVER['PATH_INFO'] ) )
{
	if( substr($_SERVER['PATH_INFO'],0,1) == '/' )
	{
		$_SERVER['PATH_INFO'] = substr($_SERVER['PATH_INFO'],1);
	}
	// Set the showarticle information:
	$_GET['showarticle'] = $_SERVER['PATH_INFO'];
}

// Load index.php:
require_once( './index.php' );

?>